package com.jinzhi.jzweb.service;

import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.JazMessageDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 消息表
 * </pre>
 * <small> 2024-05-13 10:25:49 | Long</small>
 */
public interface JazMessageService extends CoreService<JazMessageDO> {

    void senMessage(JazMessageDO jazMessageDO);

    List<Object> messageList(Integer messageType,Long receiverId);

    List<JazMessageDO> getMessage(Integer messageType,Long receiverId);

    void changeRead(JazMessageDO jazMessageDO);

    void changeUserRead(Long messageId);

    Map<Integer,Integer> getMessageNum();

   JazMessageDO messageType2Detail(Long demandId,Long interviewId,Long messageId);


    
}
